<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta property="wb:webmaster" content="cb81e216cbe9a3b9">
<meta name="keywords" content="糗事网,糗百,搞笑图片,笑话">
<meta name="description" content="最暴笑的真实糗事分享社区！在这里您可发现校园、办公室、家庭中正在发生的形形色色的搞笑糗事。">
<title>投稿 :: 糗事百科 :: 快乐减压 健康生活</title>
<link href="http://localhost/ci/css/style_web.css" media="screen, projection" rel="stylesheet" type="text/css">
<link type="text/css" rel="stylesheet" href="http://localhost/ci/css/bdsstyle.css">
<meta name="Author" content="猫冬">

<script src="http://localhost/633games/js/jquery-1.6.min.js" type="text/javascript"></script>
<style id="poshytip-css-tip-twitter" type="text/css">

div.tip-twitter {
	visibility:hidden;
	position:absolute;
	top:0;
	left:0;
}
div.tip-twitter table, div.tip-twitter td {
	margin:0;
	font-family:inherit;
	font-size:inherit;
	font-weight:inherit;
	font-style:inherit;
	font-variant:inherit;
}
div.tip-twitter td.tip-bg-image span {
	display:block;
	font:1px/1px sans-serif;
	height:10px;
	width:10px;
	overflow:hidden;
}
div.tip-twitter td.tip-right {
	background-position:100% 0;
}
div.tip-twitter td.tip-bottom {
	background-position:100% 100%;
}
div.tip-twitter td.tip-left {
	background-position:0 100%;
}
div.tip-twitter div.tip-inner {
	background-position:-10px -10px;
}
div.tip-twitter div.tip-arrow {
	visibility:hidden;
	position:absolute;
	overflow:hidden;
	font:1px/1px sans-serif;
}
</style>

</script>
<script type="text/javascript">
//function addAttach(){
//	
//	//创建行对象
//	var rowObj = document.createElement("tr");
//	
//	//创建列对象
//	var colObj = document.createElement("td");
//	
//	//创建浏览框对象
//	var fileObj = document.createElement("input");
//	fileObj.type = "file";
//	
//	
//	//创建删除附件的按钮对象	
//	var btnObj = document.createElement("input");
//	btnObj.type = "button";
//	btnObj.value = "删除附件";
//	
//	//为删除附件的按钮添加一个事件
//	
//	btnObj.onclick = function(){
//		this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode);
//	}
//	
//	
//	//将浏览框对象添加到列对象	
//	colObj.appendChild(fileObj);
//	
//	//将按钮对象添加到列对象
//	colObj.appendChild(btnObj);
//	
//	
//	
//	//将列对象添加到行对象	
//	rowObj.appendChild(colObj);
//	
//	//将行对象添加到MyTable对象	
//	document.getElementById("article_picture").appendChild(rowObj);
//	
//	
//}
$(document).ready(function(){
    $("#addpic").click(function(){
        var picnum = parseInt($('#picnum').val())+1;
        if(picnum <= $('#picmax').val()){
            $('#picnum').val(picnum);
            $('#article_picture').append('<label>真相:</label>  <input type="file" name="userfile'+ picnum + '" id="userfile'+ picnum + '" type="file"  />');
            //$(this).parent().parent().before('<label>真相:</label>  <input type="file" name="userfile'+ picnum + '" id="userfile'+ picnum + '" type="file"  />');
        }
    });
});
</script>


</head>
<body>

<a name="top"></a>
<div class="head">
  <div class="content-block">
    <div class="logo"><a href="http://www.qiushibaike.com/">糗事百科</a></div>
    <div class="userbar">
      <div class="login hidden"> <a href="http://www.qiushibaike.com/my" class="username" title="个人中心">Datou</a> <a href="http://www.qiushibaike.com/logout" class="exit" title="退出">退出</a> <a href="http://www.qiushibaike.com/messages/inbox" class="message" id="tip-message" title="小纸条"><span class="bti"></span><span id="unread_messages_count"></span></a> <a href="http://www.qiushibaike.com/new4/invitation_codes" class="code" id="tip-code" title="邀请码"><span class="bti"></span></a> </div>
      <div class="logout"> <a href="http://localhost/633games/index.php/login/index" id="logintop">登录</a> <a href="http://localhost/633games/index.php/login/signup">注册</a>&nbsp;&nbsp; <a href="http://localhost/633games/index.php/login/destory">退出</a></div>
    </div>
  </div>
</div>
<div class="menu-bar clearfix">
  <div class="content-block">
    <div class="menu">
      <ul>
        <li class="menuout"><a href="http://www.qiushibaike.com/8hr">热门</a></li>
        <li class="menuout" onmouseover="this.className='menuover'" onmouseout="this.className='menuout'"> <a href="http://www.qiushibaike.com/hot" class="submenutitle">精华</a> <a href="http://www.qiushibaike.com/hot" class="submenu">24小时内</a> <a href="http://www.qiushibaike.com/week" class="submenu">7天内</a> <a href="http://www.qiushibaike.com/month" class="submenu">30天内</a> </li>
        <li class="menuout" onmouseover="this.className='menuover'" onmouseout="this.className='menuout'"> <a href="http://www.qiushibaike.com/imgrank" class="submenutitle">真相</a> <a href="http://www.qiushibaike.com/imgrank" class="submenu">硬菜</a> <a href="http://www.qiushibaike.com/pic" class="submenu">时令</a> </li>
        <li class="menuout"><a href="http://www.qiushibaike.com/late">最新</a></li>
        <li class="menuout"><a href="http://www.qiushibaike.com/history">穿越</a></li>
        <li class="menuout"><a href="http://www.qiushibaike.com/new3/inspect/ticket">审贴</a></li>
        <li class="menuout"><a id="highlight" href="http://localhost/633games/index.php/welcome/index">投稿</a></li>
      </ul>
    </div>
    <div class="search">
     
      <form name="f1" onsubmit="return g(this)" target="_blank">
        <input name="word" maxlength="100" class="searchinput">
        <input value="搜索" class="searchbutton" type="submit">
        <input name="ie" value="utf-8" type="hidden">
        <input name="tn" value="bds" type="hidden">
        <input name="cl" value="3" type="hidden">
        <input name="ct" type="hidden">
        <input name="si" value="www.qiushibaike.com" type="hidden">
        <span>
        <input name="s" type="radio">
        <input name="s" checked="checked" type="radio">
        </span>
      </form>
    </div>
  </div>
</div>
<div class="main">
  <div class="content-block">
    <div class="col1">
      <div class="block">
        <div class="new_article">
          <form action="add1" enctype="multipart/form-data" id="form1" method="post">
            <input id="article_group_id" name="article[group_id]" value="2" type="hidden">
            <textarea  id="content" class="original" name="content"  ></textarea>
            <div id="length"></div>
            <div class="tagbox">
              <label>邮箱: </label>
              <input id="article_email" name="email" size="30" type="text">
              
            <div class="picbox" id="article_picture" >
              <label>真相:</label>  
                <input type="file" name="userfile1" id="userfile1" />
            </div>
           <a href="javascript:void(0);" class="DodgerBlue12px" name="addpic" id="addpic">  增加一张图片</a>
          <input name="picnum" type="hidden" id="picnum" value="1" />
          <input name="picmax" type="hidden" id="picmax" value="8" />   
            
            
            
            <div class="tagbox">
              <label>标签：</label>
              <input size="30" name="label" maxlength="30" id="qiushi_rtags" type="text">
             
            <div class="optionbox">
              <label>选项:</label>
              <input name="article[comment_status]" value="open" type="hidden">
              <input id="article_comment_status" name="choose" value="closed" type="checkbox">
              禁止评论 <span style="display:none;">
              <input name="article[anonymous]" value="0" type="hidden">
              <input checked="checked" id="article_anonymous" name="article[anonymous]" value="1" type="checkbox">
              匿名投稿 </span>
              <input checked="checked" type="checkbox">
              我已阅读并同意 <a href="#cp1">投稿须知</a></div>
            <div class="buttonbox">
            <input type="submit" name="upload" value="发布">
            </div>
          </form>
        </div>
        <div class="post-readme"> <a name="cp1"></a>
          <h1>投稿须知</h1>
          <ol>
            <li>自己的或听说过的糗事，真实有笑点，不含政治、色情、广告、个人隐私、歧视等内容。</li>
            <li>糗事经过审核后发表。</li>
            <li>转载请注明出处。</li>
            <li>内容版权归糗事百科网站所有。</li>
          </ol>
        </div>
      </div>
      <div class="shadow"></div>
    </div>
    </div>
</div>
<div class="foot">
 <meta name="description" content="jQuery formValidator表单验证插件" />
<meta name="keywords" content="jQuery,formValidator,插件,表单,验证,插件,javascript,表单验证,提示层" />
<script src="http://localhost/633games/formvalidator/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="http://localhost/633games/formvalidator/formValidator-4.1.1.js" type="text/javascript" charset="UTF-8"></script>
<script src="http://localhost/633games/formvalidator/formValidatorRegex.js" type="text/javascript" charset="UTF-8"></script>
<script language="javascript" src="http://localhost/633games/formvalidator/demo/DateTimeMask.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
	$.formValidator.initConfig({formID:"form1",theme:'ArrowSolidBox',mode:'AutoTip',onError:function(msg){alert(msg)},inIframe:true});
	$("#content").formValidator({onShow:"请输入你的描述",onFocus:"描述至少要输入10个汉字或20个字符",onCorrect:"恭喜你,你输对了",onShowText:"这家伙很懒，什么都没有留下。"}).inputValidator({min:20,onError:"你输入的描述长度不正确,请确认"});
	$("#article_email").formValidator({onShow:"请输入邮箱",onFocus:"邮箱至少6个字符,最多100个字符",onCorrect:"恭喜你,你输对了"}).inputValidator({min:6,max:100,onError:"你输入的邮箱长度非法,请确认"}).regexValidator({regExp:"^([\\w-.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([\\w-]+.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(]?)$",onError:"你输入的邮箱格式不正确"});  
	$("#qiushi_rtags").formValidator({onShow:"请输入你的描述",onFocus:"最多3个标签，用空格分隔",onCorrect:"恭喜你,你输对了"}).inputValidator({min:1,empty:{leftEmpty:false,rightEmpty:false,emptyError:"密码两边不能有空符号"},onError:"不能为空"});
	$.formValidator.reloadAutoTip();
});

</script>
  
  <div style="display:none">-</div>
  <div class="copyright"> ©2005-2012 qiushibaike.com &nbsp;&nbsp;<a href="http://www.qiushibaike.com/policy.html">免责声明</a>&nbsp;&nbsp;<a href="http://www.miibeian.gov.cn/">苏ICP备11024271号-2</a> </div>
  <!-- KanShu BEGIN -->
 
  <!-- KanShu BEGIN -->
</div>
<div id="login-form"> <a href="#" class="close">
  <div class="bti"></div>
  </a>
  <div class="ie6-fix"></div>
  <div class="col1">
    <h1>欢迎回来</h1>
    <form method="post" action="/session">
      <div class="inputbox">
        <label for="login">用户名或邮箱：</label>
        <input value="277525414@qq.com" tabindex="1" name="login" id="login" type="text">
        <label for="password">密码：(<a href="http://www.qiushibaike.com/fetchpass">忘记密码？</a>)</label>
        <input tabindex="2" name="password" id="password" type="password">
      </div>
      <!--<div id="error"></div>-->
      <div class="optionbox">
        <label for="remember_me">
        <input value="checked" checked="checked" name="remember_me" id="remember_me" type="checkbox">
        记住我</label>
      </div>
      <button type="submit">登录</button>
    </form>
  </div>
  <div class="col2">
    <h1>创建账号</h1>
    <div class="intro"> 请珍惜自己的账号，一旦作恶，账号将被永久删除。<br>
      <br>
      使用糗百 <a href="http://itunes.apple.com/cn/app/id422853458?ls=1&amp;mt=8" target="_blank">iPhone</a> 或 <a href="http://zhushou.360.cn/detail/index/soft_id/63092?recrefer=SE_D_%E7%B3%97%E4%BA%8B%E7%99%BE%E7%A7%91" target="_blank">Android</a> 应用可以无码快速注册，尽享移动欢乐！</div>
    <a href="http://www.qiushibaike.com/new4/signup" class="button">注册</a> </div>
</div>
<div id="suggest-form"> <a href="#" class="close">
  <div class="bti"></div>
  </a>
  <div class="ie6-fix"></div>
  <div class="form-block">
    <h1>请帮助我们进步</h1>
    <form action="/new4/suggest" method="post">
      <textarea type="text" id="suggest-text" name="suggestion" tabindex="1"></textarea>
      <button type="submit">提交</button>
    </form>
  </div>
</div>
<div id="report-form"> <a href="#" class="close" id="close-form">
  <div class="bti"></div>
  </a>
  <div class="ie6-fix"></div>
  <div class="form-block">
    <form action="/comments/report" method="post">
      <strong>请选择理由</strong>
      <input name="comment_id" value="" type="hidden">
      <label for="abusive">
      <input id="abusive" name="reason" value="abusive" type="radio">
      辱骂</label>
      <label for="porn">
      <input id="porn" name="reason" value="porn" type="radio">
      色情</label>
      <label for="spam">
      <input id="spam" name="reason" value="spam" type="radio">
      广告</label>
      <label for="waste">
      <input id="waste" name="reason" value="waste" type="radio">
      浪费楼层</label>
      <button type="submit" name="button" id="button">提交</button>
    </form>
  </div>
</div>


<!-- Baidu Share BEGIN -->
<!-- Baidu Share END -->
<!-- Baidu tongji BEGIN -->


<!-- Baidu tongji END -->
<!-- Google Analytics BEGIN -->


<div class="tip-twitter">
  <div class="tip-inner tip-bg-image"></div>
  <div class="tip-arrow tip-arrow-top tip-arrow-right tip-arrow-bottom tip-arrow-left"></div>
</div>
<div class="tip-twitter">
  <div class="tip-inner tip-bg-image"></div>
  <div class="tip-arrow tip-arrow-top tip-arrow-right tip-arrow-bottom tip-arrow-left"></div>
</div>
</body>
</html>
